package springboot.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class Teacher {
  private Long tno;
  private String tname;
  private String sex = "女";
  private Integer age = 30;
  private String tphone = "18888888888";

  @Override
  public String toString() {
    return "Teacher{" +
        "tno=" + tno +
        ", tname='" + tname + '\'' +
        ", sex='" + sex + '\'' +
        ", age=" + age +
        ", tphone='" + tphone + '\'' +
        '}';
  }
}
